
// 单选数值转字符串
export function int2SingleString (intValue, arrayString){
  for( let item of arrayString){
    if( item.value == intValue)
      return item.name;
  }
  return '';
}


// 多选数值转字符串
export function int2MultiString (intValue, arrayString){
  let ret = [];
  let arrayInt = intValue.split( ',');
  for( let index of arrayInt ){
    ret.push( int2SingleString( parseInt( index), arrayString));
  }
  return ret.toString();
}
